@echo off

REM 初始化 Git 仓库
git init

REM 创建 README.md 文件
echo # My Project > README.md

REM 将 README.md 添加到 Git 暂存区
git add .

REM 提交代码到本地仓库
git commit -m "first commit"

REM 设置远程仓库地址
git remote add origin https://gitee.com/rinanfang/stm32f103c8t6uarttest.git

REM 推送代码到远程仓库
git push -u origin master